package com.platform.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @Author jaalemon@163.com
 * @Date 2021/7/10 18:12
 * @Version 1.0
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "remote.api")
public class RemoteConfig {

    private String url;
    private String refund;

    public String getFullRefundUrl(){
        return this.url + this.refund;
    }

}
